import Main from '@/pages/Main.vue';
export default [
    {
        path: '/content',
        icon: 'images',
        name: 'content',
        title: '内容',
        component: Main,
        access: 1,
        children: [
            { path: 'Information', title: '基本信息', name: 'Information', component: resolve => { require(['@/pages/ec/content/information.vue'], resolve); } },
            { path: 'Register', title: '注册协议', name: 'Register', component: resolve => { require(['@/pages/ec/content/register.vue'], resolve); } },
            { path: 'News', title: '新闻中心', name: 'News', component: resolve => { require(['@/pages/ec/content/news.vue'], resolve); } },
            { path: 'HelpCenter', title: '帮助中心', name: 'HelpCenter', component: resolve => { require(['@/pages/ec/content/HelpCenter.vue'], resolve); } },
            { path: 'templateShop', title: '商城模板', name: 'templateShop', component: resolve => { require(['@/pages/ec/content/templateShop.vue'], resolve); } },
            { path: 'templateList', title: '商城模板中心', name: 'templateList', component: resolve => { require(['@/pages/ec/content/templateList.vue'], resolve); } },
            { path: 'mallTemplate', title: '商城装修', show: false, name: 'mallTemplate', component: resolve => { require(['@/pages/ec/content/mallTemplate.vue'], resolve); } }
        ]
    },
    {
        path: '/commodity',
        icon: 'images',
        name: 'commodity',
        title: '商品',
        component: Main,
        access: 1,
        children: [
            { path: 'commodityList', title: '商品列表', name: 'CommodityList', component: resolve => { require(['@/pages/ec/commodity/commodityList.vue'], resolve); } },
            { path: 'goodsAuditing', title: '待审核商品', name: 'goodsAuditing', component: resolve => { require(['@/pages/ec/commodity/goodsAuditing.vue'], resolve); } },
            { path: 'goodsDetails', title: '详情', show: false, name: 'goodsDetails', component: resolve => { require(['@/pages/ec/commodity/goodsDetails.vue'], resolve); } },
            { path: 'goodsClass', title: '商品类目', name: 'goodsClass', component: resolve => { require(['@/pages/ec/commodity/goodsClass.vue'], resolve); } },
            { path: 'goodsBrand', title: '品牌', name: 'goodsBrand', component: resolve => { require(['@/pages/ec/commodity/goodsBrand.vue'], resolve); } }
        ]
    },
    {
        path: '/associator',
        icon: 'images',
        name: 'associator',
        title: '会员',
        component: Main,
        access: 1,
        children: [
            { path: 'business', title: '商家列表', name: 'Business', component: resolve => { require(['@/pages/ec/associator/business.vue'], resolve); } },
            { path: 'Auditing', title: '待审核', name: 'Auditing', component: resolve => { require(['@/pages/ec/associator/Auditing.vue'], resolve); } },
            { path: 'sellerDetails', title: '详情', show: false, name: 'sellerDetails', component: resolve => { require(['@/pages/ec/associator/sellerDetails.vue'], resolve); } },
            { path: 'shopList', title: '店铺列表', name: 'shopList', component: resolve => { require(['@/pages/ec/associator/shopList.vue'], resolve); } },
            { path: 'businessRank', title: '商家等级', name: 'businessRank', component: resolve => { require(['@/pages/ec/associator/businessRank.vue'], resolve); } },
            { path: 'associatorList', title: '会员列表', name: 'associatorList', component: resolve => { require(['@/pages/ec/associator/associatorList.vue'], resolve); } },
            { path: 'associatorGrade', title: '会员等级', name: 'associatorGrade', component: resolve => { require(['@/pages/ec/associator/associatorGrade.vue'], resolve); } }
        ]
    },
    {
        path: '/Marketing',
        icon: 'images',
        name: 'Marketing',
        title: '营销',
        component: Main,
        access: 1,
        children: [
            { path: 'shopCoupon', title: '店铺优惠券', name: 'shopCoupon', component: resolve => { require(['@/pages/ec/Marketing/shopCoupon.vue'], resolve); } },
            { path: 'shopCouponSon', title: '已生成优惠券', show: false, name: 'shopCouponSon', component: resolve => { require(['@/pages/ec/Marketing/shopCouponSon.vue'], resolve); } },
            { path: 'batch', title: '过往批次', name: 'batch', component: resolve => { require(['@/pages/ec/Marketing/batch.vue'], resolve); } },
            { path: 'IntegralRule', title: '积分规则', name: 'IntegralRule', component: resolve => { require(['@/pages/ec/Marketing/IntegralRule.vue'], resolve); } },
            { path: 'Shop_template', title: '店铺模板', name: 'ShopTemplate', component: resolve => { require(['@/pages/ec/Marketing/ShopTemplate.vue'], resolve); } }
        ]
    },
    {
        path: '/orderMage',
        icon: 'images',
        name: 'orderMage',
        title: '订单',
        component: Main,
        access: 1,
        children: [
            { path: 'orderList', title: '订单列表', name: 'orderList', component: resolve => { require(['@/pages/ec/orderMage/orderList.vue'], resolve); } },
            { path: 'evaluationMage', title: '评价管理', name: 'evaluationMage', component: resolve => { require(['@/pages/ec/orderMage/evaluationMage.vue'], resolve); } },
            { path: 'cancelOrderApply', title: '取消订单申请', name: 'cancelOrderApply', component: resolve => { require(['@/pages/ec/orderMage/cancelOrderApply.vue'], resolve); } },
            { path: 'cancGoods', title: '退换货申请', name: 'cancGoods', component: resolve => { require(['@/pages/ec/orderMage/cancGoods.vue'], resolve); } }
        ]
    },
    {
        path: '/Finance',
        icon: 'images',
        name: 'Finance',
        title: '财务',
        component: Main,
        access: 1,
        children: [
            { path: 'PlatformWater', title: '平台流水', name: 'PlatformWater', component: resolve => { require(['@/pages/ec/Finance/PlatformWater.vue'], resolve); } },
            { path: 'businessBill', title: '商家账单', name: 'businessBill', component: resolve => { require(['@/pages/ec/Finance/businessBill.vue'], resolve); } }
        ]
    },
    {
        path: '/parameter',
        icon: 'images',
        name: 'parameter',
        title: '参数',
        component: Main,
        access: 1,
        children: [
            { path: 'MailSetup', title: '邮件发送设置', name: 'MailSetup', component: resolve => { require(['@/pages/ec/parameter/MailSetup.vue'], resolve); } },
            { path: 'MailTemplate', title: '邮件模板', name: 'MailTemplate', component: resolve => { require(['@/pages/ec/parameter/MailTemplate.vue'], resolve); } },
            { path: 'messageTemplate', title: '短信模板', name: 'messageTemplate', component: resolve => { require(['@/pages/ec/parameter/messageTemplate.vue'], resolve); } },
            { path: 'ServiceCharge', title: '服务费率', name: 'ServiceCharge', component: resolve => { require(['@/pages/ec/parameter/ServiceCharge.vue'], resolve); } },
            { path: 'region', title: '区域管理', name: 'region', component: resolve => { require(['@/pages/ec/parameter/region.vue'], resolve); } },
            { path: 'Bank', title: '银行管理', name: 'Bank', component: resolve => { require(['@/pages/ec/parameter/Bank.vue'], resolve); } },
            { path: 'logistics', title: '物流管理', name: 'logistics', component: resolve => { require(['@/pages/ec/parameter/logistics.vue'], resolve); } },
            { path: 'payment', title: '支付管理', name: 'payment', component: resolve => { require(['@/pages/ec/parameter/payment.vue'], resolve); } },
            { path: 'systemParameter', title: '系统参数', name: 'systemParameter', component: resolve => { require(['@/pages/ec/parameter/systemParameter.vue'], resolve); } },
            { path: 'authenticationData', title: '认证资料', name: 'authenticationData', component: resolve => { require(['@/pages/ec/parameter/authenticationData.vue'], resolve); } }
        ]
    }/* ,
    {
        path: '/reportForms',
        icon: 'images',
        name: 'reportForms',
        title: '报表',
        component: Main,
        access: 1,
        children: [
            { path: 'trade', title: '交易统计', name: 'trade', component: resolve => { require(['@/pages/ec/reportForms/trade.vue'], resolve); } },
            { path: 'ranking', title: '访问排名', name: 'ranking', component: resolve => { require(['@/pages/ec/reportForms/ranking.vue'], resolve); } },
            { path: 'integral', title: '积分统计', name: 'integral', component: resolve => { require(['@/pages/ec/reportForms/integral.vue'], resolve); } },
            { path: 'Member', title: '会员统计', name: 'Member', component: resolve => { require(['@/pages/ec/reportForms/Member.vue'], resolve); } },
            { path: 'ReturnGoods', title: '退货统计', name: 'ReturnGoods', component: resolve => { require(['@/pages/ec/reportForms/ReturnGoods.vue'], resolve); } }
        ]
    } */
];
